Delete Consentless Lead
The Delete Consentless Lead request enables you to delete a 'Consentless' lead.
'Consented' leads can only be deleted using the Teams admin center.
URI
Copy
{{baseUrl}}/api/v2/oc/lead?msTenantID=[Microsoft TenantID]
HTTP Method
DELETE
Request Parameters
Parameter |
Type |
Description |
---|---|---|
msTenantID |
string |
Microsoft Azure Tenant subscription Id of the customer lead. See Get All OC Leads to retrieve the Tenant ID for your customer. |
Response Codes
■ | 200 Success |
1 Indicates a successful deletion. Run endpoint Get Services Brief Details (V3) to confirm.
■ | 400 Bad Request |
Copy
Invalid lead
■ | 404 Not Found |
Copy
"Invalild lead"